﻿using System;
using YunZuan.Models.Entities;

namespace YunZuan.Models
{
    public class PageParamOfOrder : IPageParam
    {
        public int pageSize { get; set; } = 50;
        public int pageIndex { get; set; } = 1;
        public int PageCount { get; set; }
        public int CustomerID { get; set; }
        public int UserID { get; set; }
        public string CustomerRealName { get; set; }

        public DateTime? StartTime { get; set; }          //开始发货时间 8-18
        public DateTime? EndTime { get; set; }           //结束发货时间

        public DateTime? ECreateTime { get; set; }          //开始下单时间
        public DateTime? SCreateTime { get; set; }           //结束下单时间

        public DateTime? SArrivalTime { get; set; }          //开始到货时间 8-18
        public DateTime? EArrivalTime { get; set; }           //结束到货时间

        public DateTime? SShipTime { get; set; }          //开始出货时间 11-2
        public DateTime? EShipTime { get; set; }           //结束出货时间

        public int OrderStatus { get; set; }
        public string strOrderStatus { get; set; }

        public int SalesUserID { get; set; }
        public int PurchaseUserID { get; set; }

        //public int? SalesUserID { get; set; }
        //public int? PurchaseUserID { get; set; }

        public int caigouID { get; set; }
        public int xsID { get; set; }
        public int Arrival { get; set; }
        public int paytype { get; set; }

        public int? PaymentStatus { get; set; }   //PaymentStatus有一个默认为0 所以一定要加个？ 8-29 
        public int? ReceiptStatus { get; set; }   //ReceiptStatus有一个默认为0 所以一定要加个？ 8-29 

        public string Supplier { get; set; }
        public int Bankaccount_id { get; set; }
        public int SalesID { get; set; }
        public string CustomerNickName { get; set; }
        //排序用
        public string SortColumn { get; set; }
        public string SortDirect { get; set; }

        public string ShipNo { get; set; }//出货单号 8-21
        //public string BillNo { get; set; }//账单号 8-23        

        public string[] OriginSN { get; set; }//原货号  lsy 2016-1-19

        public string OrderSN { get; set; }//订单号
        public int Billofstatus { get; set; } 
        public string Takenoteoftime { get; set; }
        public string SupplierCode { get; set; }
        public string billofalesNumber { get; set; }
        public int Morderstaus { get; set; }
        public int Mstockstaus { get; set; }
        public int Abnormalstate { get; set; }
        public int Returnstatus { get; set; }
        public int Rechargestatus { get; set; }
        public int? Status { get; set; }
        public string SN { get; set; } //货号
        public string[] CertNo { get; set; } //证书号 8-1
        public string CertType { get; set; } //证书类型 9-28
        public short CurType { get; set; } //结算币种 2017-02-22
        public int OrderType { get; set; } //订单类型 11-10
        public string Color { get; set; } //颜色 8-2
        public string Clarity { get; set; } //净度 8-15
        public string Weight { get; set; } //重量 8-17
        public int SysStatus { get; set; }
        public int Salespromission { get; set; } 

        public int IsStock { get; set; }// 现货订单 
        public string PurchaseSupplier { get; set; }
        public string Place { get; set; }
        public int? OrderID { get; set; }// 现货订单 
        public int? GoodsType { get; set; }// 订单类型  
    }
}
